"""
    该案例演示了for循环
"""
# 遍历列表
# list1 = [1,2,3,4,5]
# print(list1)
# for x in list1:
#     print(x)

# 遍历字符串
# str1 = "hello world"
# for x in str1:
#     print(x,end="")

# 遍历range数列
for i in range(10):
    print(i)